package cn.fintecher.pangolin.common.model;

import cn.fintecher.pangolin.common.enums.BaseStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Auther: xiaqun
 * @Description: 登录返回部门对象
 * @Date: 17:20 2019/8/13
 */

@Data
public class DepartmentModel implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "机构code")
    private String departCode;

    @ApiModelProperty(value = "机构级别")
    private Integer level;

    @ApiModelProperty(value = "机构状态")
    private BaseStatus status;

    @ApiModelProperty(value = "父级机构ID")
    private String parentId;
}
